<!DOCTYPE HTML>
<html>
<head>
<?php include '../../util/Constant.php';?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php Constant::TITOLO_PAGINA_AMMINISTRAZIONE ?></title>
</head>
<?php
	if(!isset($_COOKIE[Constant::NOME_COKIE]))
	{
		header("Location: ../index.php");
	}
?>
<body>
	<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
		<input type="submit" id="temaSett" name="temaSett" value="Tema Settimanale">
		<input type="submit" id="temaMens" name="temaMens" value="Tema Mensile">
	</form>
	<?php if(isset($_POST["temaSett"])){ ?>
		<?php echo "tema sett";?>
	<?php } else if(isset($_POST["temaMens"])){ ?>
		<?php echo "tema mens";?>
	<?php }?>
</body>
</html>
